import React from 'react';
import 'antd/dist/antd.css';
import { Card,Input } from 'antd';  
import CensorContent from './component/censor_content'
const tabList = [{
key: 'one',
tab: '我的审核',
}, {
key: 'two',
tab: '我的发布',
}];
 
let  aaa= {
    background:'none',
	outline:'none',
	border:'none',
}
const contentList = {
one: <div> 审核内容</div>,   
two: <p>发布内容</p>
};

class InternshipProjectAudit extends React.Component {
state = {
Key: 'one',
}

onTabChange = (key, type) => { 
this.setState({ [type]: key });
}

render() {
return (
<div>
<Card 
style={{ width: '100%' }}
tabList={tabList}
activeTabKey={this.state.Key}
onTabChange={(key) => { this.onTabChange(key, 'Key'); }}
>
{contentList[this.state.Key]}

</Card>
</div>
);
}
}

export default InternshipProjectAudit